<cfcomponent output="false" alias="virtualfooddrive-inf.com.User">
	
	<!--- user properties --->
	<cfproperty name="ID" type="numeric" default="0">
	<cfproperty name="EMAIL" type="string" default="">
	<cfproperty name="PASSWORD" type="string" default="">
	<cfproperty name="ROLE_ID" type="numeric" default="0">
	<cfproperty name="FNAME" type="string" default="">
	<cfproperty name="LNAME" type="string" default="">
	<cfproperty name="CAT_ID" type="numeric" default="0">
	<cfproperty name="ACTIVE" type="numeric" default="0">
	<cfproperty name="IS_DELETED" type="numeric" default="0">

	<!--- organization properties --->
	<cfproperty name="ORG_NAME" type="string" default="">
	<cfproperty name="ADMIN_ID" type="numeric" default="0">
	<cfproperty name="ORG_CAT_ID" type="numeric" default="0">
	<cfproperty name="LOGO_FILE" type="binary" default="">

	<!--- address properties --->
	<cfproperty name="ADDRESS_ID" type="numeric" default="0">	
	<cfproperty name="ADDRESS1" type="string" default="">
	<cfproperty name="ADDRESS2" type="string" default="">
	<cfproperty name="CITY" type="string" default="">
	<cfproperty name="STATE_PROVINCE" type="string" default="">
	<cfproperty name="POSTAL_CODE" type="string" default="">
	<cfproperty name="COUNTRY" type="string" default="">
	<cfproperty name="PHONE" type="string" default="">
	<cfproperty name="FAX" type="string" default="">
	<cfproperty name="ADDRESS_CAT_ID" type="numeric" default="0">
	<cfproperty name="USER_ORG_ID" type="numeric" default="0">
    
    <!--- food drive properties --->
    <cfproperty name="FOODDRIVE_TITLE" type="string" default="">
	<cfproperty name="FOODDRIVE_DESC" type="string" default="">
	<cfproperty name="START_DATE" type="date">
	<cfproperty name="END_DATE" type="date">
	<cfproperty name="GOAL" type="numeric"  default="0">
    
	<cfscript>
	
		this.ID = 0;
		this.EMAIL = "";
		this.PASSWORD = "";
		this.ADDRESS_ID = 0;
		this.ROLE_ID = 2; 
		this.FNAME = "";
		this.LNAME = "";
		this.CAT_ID = 0;
		this.ACTIVE = 0;
		this.IS_DELETED = 0;

		this.ORG_NAME = "";
		this.ADMIN_ID = 0;
		this.ORG_CAT_ID = 0;
		this.LOGO_FILE = "";
		
		this.ADDRESS1 = "";
		this.ADDRESS2 = "";
		this.CITY = "";
		this.STATE_PROVINCE = "";
		this.POSTAL_CODE = "";
		this.COUNTRY = "";
		this.PHONE = "";
		this.FAX = "";
		this.ADDRESS_CAT_ID = 0;
		this.USER_ORG_ID = 0;	
		this.FOODDRIVE_TITLE = "";
		this.FOODDRIVE_DESC = "";
		this.START_DATE = "";
		this.END_DATE = "";
		this.GOAL = 0;	
		
		this.FOODDRIVE_TITLE = "";
		this.FOODDRIVE_DESC = "";
		this.START_DATE = "";
		this.END_DATE = "";
		this.GOAL = 0;
			
	</cfscript>

	<cffunction name="init" output="false" returntype="User">
		<cfreturn this>
	</cffunction>
	
</cfcomponent>